package com.caiyouxi.msg.model;

import com.caiyouxi.common.bean.QueryParams;

import java.io.Serializable;
import java.util.Date;

public class Messages extends QueryParams implements Serializable{
    private Long id;

    private String product_code;

    private String source_id;

    private String source_object_type;

    private String source_object_id;

    private Integer receiver_id;

    private Date created_time;

    private Date notify_time;

    private Date expire_time;

    private String title;

    private Date readed_time;

    private String status;

    private Object extra_data;

    private String content;

    private Integer is_del;

    public Integer getIs_del() {
        return is_del;
    }

    public void setIs_del(Integer is_del) {
        this.is_del = is_del;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getProductCode() {
        return product_code;
    }

    public void setProductCode(String productCode) {
        this.product_code = productCode == null ? null : productCode.trim();
    }

    public String getSourceId() {
        return source_id;
    }

    public void setSourceId(String sourceId) {
        this.source_id = sourceId == null ? null : sourceId.trim();
    }

    public String getSourceObjectType() {
        return source_object_type;
    }

    public void setSourceObjectType(String sourceObjectType) {
        this.source_object_type = sourceObjectType == null ? null : sourceObjectType.trim();
    }

    public String getSourceObjectId() {
        return source_object_id;
    }

    public void setSourceObjectId(String sourceObjectId) {
        this.source_object_id = sourceObjectId == null ? null : sourceObjectId.trim();
    }

    public Integer getReceiverId() {
        return receiver_id;
    }

    public void setReceiverId(Integer receiverId) {
        this.receiver_id = receiverId;
    }

    public Date getCreatedTime() {
        return created_time;
    }

    public void setCreatedTime(Date createdTime) {
        this.created_time = createdTime;
    }

    public Date getNotifyTime() {
        return notify_time;
    }

    public void setNotifyTime(Date notifyTime) {
        this.notify_time = notifyTime;
    }

    public Date getExpireTime() {
        return expire_time;
    }

    public void setExpireTime(Date expireTime) {
        this.expire_time = expireTime;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Date getReadedTime() {
        return readed_time;
    }

    public void setReadedTime(Date readedTime) {
        this.readed_time = readedTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Object getExtraData() {
        return extra_data;
    }

    public void setExtraData(Object extraData) {
        this.extra_data = extraData;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}